/*
 * Copyright (c) 2023 Cshoo Org. All Rights Reserved.
 */

package org.cshoo.tattoo.authorize.api.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author 杨翼
 * @since 1.0
 */
@Data
@ApiModel(value = "权限响应DTO")
public class AuthorityResp {

    @ApiModelProperty(value = "id")
    private Long id;

    @ApiModelProperty(value = "name")
    private String name;

    @ApiModelProperty(value = "uri")
    private String uri;

    @ApiModelProperty(value = "method")
    private String method;

    @ApiModelProperty(value = "可访问范围")
    private Integer accessScope;

    @ApiModelProperty(value = "微服务id")
    private Long microserviceId;

}
